package com.example.goods_manage.config;

import com.example.goods_manage.dto.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * <P> @Author: SongKeCheng
 * <P> Type: Class
 * <P> Description:
 * <P> Date: 2024/7/18:10:23
 */

@SuppressWarnings({"unchecked", ""})
//@Component
public class BeanConfig {

    @Bean
    public User user(){
        User user = new User();
        user.setAccount("zs");
        return user;
    }

}
